package com.hxzy.service.impl;

import com.hxzy.bean.HandSet;
import com.hxzy.dao.HandSetDao;
import com.hxzy.dao.impl.HandSetDaoImpl;
import com.hxzy.service.HandSetService;

import java.util.List;

/**
 * @author nick
 */
public class HandSetServiceImpl implements HandSetService {
    private HandSetDao dao = new HandSetDaoImpl();

    @Override
    public int save(HandSet handSet) {
        return dao.save(handSet);
    }

    @Override
    public int update(HandSet handSet) {
        return dao.update(handSet);
    }

    @Override
    public int remove(Integer integer) {
        return dao.remove(integer);
    }

    @Override
    public List<HandSet> queryAll() {
        return dao.queryAll();
    }

    @Override
    public HandSet findById(Integer integer) {
        return dao.findById(integer);
    }
}
